package com.zhentao.model.pojo.core;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName charge_station_comment
 */
@TableName(value ="charge_station_comment")
@Data
public class ChargeStationComment implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 评论id
     */
    private Integer userId;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 充电站id
     */
    private Integer stationId;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 用户头像
     */
    private String acatarImg;

    /**
     * 评论时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}